<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>[% title %]</title>
		<meta name='Generator' content='[% generator.name %]'>
        <style type="text/css">
            html, body { margin:0; padding:0; height:100%; border:none;}
			body     { background-color: #fff;
			           color: #000;
			           font-size: large              }
			a          { text-decoration: none }
	 		a:hover    { text-decoration: underline }
	 		a:active   { text-decoration: underline }
	 		strike     { color: grey }
	 		u          { text-decoration: none; background-color: yellow }
	 		tt         { color: #2e3436; }
	 		pre        { background-color: lightyellow; margin-left: 20px; margin-top: 0; margin-bottom: 0 }
	 		h1         { text-decoration: underline; color: #4e9a06; margin: 0 }
	 		h2         { color: #4e9a06; margin: 0 }
	 		h3         { color: #4e9a06; margin: 0 }
	 		h4         { color: #4e9a06; margin: 0 }
	 		h5         { color: #4e9a06; margin: 0 }
	 		p          { margin: 0 }
			ul         { margin: 0 }
			ol         { margin: 0 }
			span.zim-tag {
				color: #ce5c00;
			}
			div.zim-object {
				border-style:solid;
				border-width:1px;
			}
			.checked-box {list-style-image: url()}
			.xchecked-box {list-style-image: url()}
			.unchecked-box {list-style-image: url()}
			.migrated-box {list-style-image: url()}
			.transmigrated-box {list-style-image: url()}
			ul {list-style-image: none}
			/* ul rule needed to reset style for sub-bullets */

			.bar     { background-color: #E0E0FF;
			           margin: 0                     }
			.nav     { color: grey;
			           font-size: small              }
		</style>
		<script type='text/javascript'>
		// <!--
// Slideshow script - adapted from old kwiki package

function nextSlide() {
	window.location="[% uri(navigation.next) %]"
}

function prevSlide() {
	window.location="[% uri(navigation.prev) %]"
}


function handleKey(e) {
	var key;
	if (e == null) { // IE
		key = event.keyCode
	}
	else { // Mozilla
		if (e.altKey || e.ctrlKey) {
			return true
		}
		key = e.which
	}

	switch(key) {
		case 8: prevSlide(); break // Backspace
		case 13: nextSlide(); break // Enter
		case 32: nextSlide(); break // Space
		default:
	}

	return false
}

document.onkeypress = handleKey
// document.onclick = nextSlide
// document.ondblclick = prevSlide

// End slideshow script
		// -->
		</script>
	</head>

[% options.empty_lines = "default" %]

	<body>

	<table width="100%" style="height: 100%" border="0" cellpadding="5" cellspacing="0">
		<tr>
			<td colspan="3" align="center" valign="middle" class="bar">
				<h3 class='bar'>[% title %]</h3>
			</td>
		</tr>
		<tr>
			<td width="5%">&nbsp;</td>
			<td width="90%" height="90%" align="center" valign="top">

				<table>
                    <tr>
                        <td align='left'>
<!-- Wiki content -->

[% FOR page IN pages %]
[% page.body %]
[% END %]

<!-- End wiki content -->
                        </td>
                    </tr>
                </table>

			</td>
			<td width="5%">&nbsp;</td>
		</tr>
		<tr>
			<td colspan="3" align="center" valign="middle">
				[% IF navigation.prev -%]
					<a href='[% uri(navigation.prev) %]' class="nav">&lt;</a>
				[%- ELSE -%]
					<span class="nav">&lt;</span>
				[%- END %]

				<a href='[% uri(links.get("index")) %]' class="nav">+</a>

				[% IF navigation.next -%]
					<a href='[% uri(navigation.next) %]' class="nav">&gt;</a>
				[%- ELSE -%]
					<span class="nav">&gt;</span>
				[%- END %]
			</td>
		</tr>
	</table>

	</body>

</html>
